package com.alks.entity.data.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_MTL_CHECK")
@ApiModel(value = "PcMtlCheck对象", description = "")
public class PcMtlCheck2 implements Serializable {

    private String primaryId;
    private static final long serialVersionUID = 1L;

    private String companyId;

 
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    //送货日期
    private Date sendDate;


    private String purNo;

    private String vendorNo;

    private String mtlNo;

    //材料颜色
    private String mtlColor;

    //材料
    private String mtlName;

    //规格
    private String mtlSpec;

    //单位
    private String mtlUnit;

    private BigDecimal sendQty;


    //退货数量
    private BigDecimal returnQty;

    //暂收
    private BigDecimal acceptQty;
    
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date sysDate;

    //仓管员
    private String sysUser;

    private String recFlag;

    private String aReason;

    private String aMemo;

    private String pReason;

    private String pMemo;

    private String checkType;

    private BigDecimal checkPercent;

    private BigDecimal quality1;

    private BigDecimal quality2;

    private BigDecimal quality3;

    private String aCheckFlag;

    private String pCheckFlag;
    
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date aCheckDate;

    private String aCheckUser;
    
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date pCheckDate;

    private String pCheckUser;

    private String recNo;

    //单价
    private BigDecimal price;
    private String prices;

    private BigDecimal kgQty;

    //仓管备注
    private String remark;
    
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date recDate;

    //金额
    private BigDecimal amt;
    private String amts;

    private String returnNo;
    
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date returnDate;

    //厂商
    private String vendorName;

    //指令
    private String lotDetail;

    private String transferWh;

    private BigDecimal dyedFee;

    private String mtlSpec2;

    private BigDecimal sendQty2;

    private String cfmFlag;
    
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date cfmDate;

    private String cfmUser;

    private String returnCfmFlag;
    
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date returnCfmDate;

    private String returnCfmUser;

    //财务备注
    private String financeRecMemo;

    private String financeRetMemo;

    private BigDecimal returnKgQty;

    private BigDecimal returnAmt;

    private String financeRecYymm;

    private String financeRetYymm;

    private BigDecimal returnDyedFee;

    private String reqNo;

    private BigDecimal okQty;

    private String financeCfmFlag;

    private String financeCfmUser;

    private String purStyle;

    private String purLot;

    //送货单号
    private String sendNo;

    private String checkNo;
    
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date checkSendDate;
    
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date financeCfmDate;

    private String accountName;

    private String balanceNo;

    private String slipType;

    //用量
    private BigDecimal usage;

    //材料入库单号查询的备注
    private String cRemark;
    private String moldNo;

}
